This patch fixes `warning: "in_atomic" redefined'.
# It is introduced by 22395:
deb438d43e79.
Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
#define in_softirq() (softirq_count())
#define in_interrupt() (irq_count())
+#ifndef XEN
#if defined(CONFIG_PREEMPT) && !defined(CONFIG_PREEMPT_BKL)
# define in_atomic() ((preempt_count() & ~PREEMPT_ACTIVE) != kernel_locked())
#else
# define in_atomic() ((preempt_count() & ~PREEMPT_ACTIVE) != 0)
#endif
+#endif
#ifdef CONFIG_PREEMPT
# define preemptible() (preempt_count() == 0 && !irqs_disabled())